package com.beordie.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description 介绍图实体
 * @Date 2021/8/7 8:49
 * @Created 30500
 */
@Data
@TableName("route_img")
public class Image {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("route_id")
    private Integer routeId;
    @TableField("bigPic")
    private String bigImage;
    @TableField("smallPic")
    private String smallImage;

    @Override
    public String toString() {
        return "Image{" +
                "id=" + id +
                ", routeId=" + routeId +
                ", bigImage='" + bigImage + '\'' +
                ", smallImage='" + smallImage + '\'' +
                '}';
    }
}
